package com.ruoyi.api.service;

import com.ruoyi.api.vo.Approval;
import com.ruoyi.api.vo.ApprovalDemo;
import com.ruoyi.api.vo.Locations;

import javax.xml.crypto.Data;
import java.util.Date;
import java.util.List;
import java.util.Set;

public interface LocationService {

    void add(Locations locations);

    List<String> selectPath(String userId, Date time);

    List<Locations> selectlocation(String trackId);

    boolean deletepath(String trackId);

    String selectUserLocation(String userId);

    void addOffline(List<Locations> list);

    List<ApprovalDemo> selectByCar(Approval approval);

    List<String> selectByTrack(String trackId);
}
